#ifndef WEB_SERVER_H_INCLUDED
#define WEB_SERVER_H_INCLUDED

#include "st_server.h"
#include "http_servlet_container.h"

namespace vmon_web
{
    class WebServer: public STServer
    {
    public:
        WebServer(unsigned short port);
        virtual ~WebServer();

        STSockHolder* newSockHolder(int sock);
        HttpServletContainer& getServletContainer();
        bool handleMsg();
    private:
        HttpServletContainer m_servletContainer;
    };
}

#endif // WEB_SERVER_H_INCLUDED
